var dockerPage = function (){
	this.d_v = null;
	
}

dockerPage.prototype.pageInit = function () {
	var that =this;
	
	that.dockerVuInit();
	
	//查询现有docker容器
	that.loadDockerList();
	
}
dockerPage.prototype.dockerVuInit = function () {
	var that =this;
	let d_v = new Vue({
		el:"#d_vu",
		data:{
			docker_data:[]
		},
		methods:{
			
		}
	})
	that.d_v= d_v;
	
}

dockerPage.prototype.loadDockerList = function () {
	var that = this;
	var d_parm = {
		docker_server_cacertPath:"H:/zs/",
		docker_server_ip:"43.128.3.250",
		docker_server_port:"2376"
	}
	$.ajax({
		type:"post",
		url:"/docker/dockerTest",
		data:JSON.stringify(d_parm),
		contentType:"application/json",
		success:function (res) {
			debugger;
			that.d_v.docker_data = res;
		}
	});
	
	
}

